import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引⼊axios
import axios from 'axios'
//引⼊vue封装axios
import VueAxios from 'vue-axios'
//引⼊vant的组件和对应的样式
import Vant from 'vant'
import 'vant/lib/index.css'
//使⽤
Vue.use(VueAxios, axios);
Vue.use(Vant);
Vue.prototype.$axios = axios
axios.defaults.baseURL = 'http://localhost:8888'

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
